﻿using System;
using UnityEngine;

// Token: 0x02000279 RID: 633
public class WatchPos
{
	// Token: 0x0600108D RID: 4237 RVA: 0x000692D0 File Offset: 0x000674D0
	public WatchPos()
	{
	}

	// Token: 0x0600108E RID: 4238 RVA: 0x000692E4 File Offset: 0x000674E4
	public WatchPos(string typeStr, Vector3 pos, float yaw)
	{
		this.type = WatchPos.StrToType(typeStr);
		this.pos.pos = pos;
		this.pos.yaw = yaw;
	}

	// Token: 0x0600108F RID: 4239 RVA: 0x0006931C File Offset: 0x0006751C
	public static WatchPos.TYPE StrToType(string str)
	{
		if (str.Equals("floor", StringComparison.OrdinalIgnoreCase))
		{
			return WatchPos.TYPE.FLOOR;
		}
		if (str.Equals("chair", StringComparison.OrdinalIgnoreCase))
		{
			return WatchPos.TYPE.CHAIR;
		}
		return WatchPos.TYPE.STAND;
	}

	// Token: 0x040011A5 RID: 4517
	public PosYaw pos = new PosYaw();

	// Token: 0x040011A6 RID: 4518
	public WatchPos.TYPE type;

	// Token: 0x0200027A RID: 634
	public enum TYPE
	{
		// Token: 0x040011A8 RID: 4520
		STAND,
		// Token: 0x040011A9 RID: 4521
		FLOOR,
		// Token: 0x040011AA RID: 4522
		CHAIR,
		// Token: 0x040011AB RID: 4523
		NUM
	}
}
